package com.xncoding.socket.socket.client.webmvc;

import org.springframework.web.socket.WebSocketHandler;
import org.springframework.web.socket.client.WebSocketClient;
import org.springframework.web.socket.client.WebSocketConnectionManager;
import org.springframework.web.socket.client.standard.StandardWebSocketClient;

public class testWebmvc {

    public void  testSocket(){
        WebSocketClient client = new StandardWebSocketClient();
        WebSocketHandler handler = new ServletWebSocketClientHandler();
        WebSocketConnectionManager manager = new WebSocketConnectionManager(client, handler, "uri");
        manager.start();
    }
}
